//
//  SRUIButton.m
//  UWOApp
//
//  Created by 索晓晓 on 2018/3/26.
//  Copyright © 2018年 SXiao.RR. All rights reserved.
//

#import "SRUIButton.h"

@implementation SRUIButton

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self addTarget:self action:@selector(touchAction) forControlEvents:UIControlEventTouchUpInside];
        
    }
    return self;
}
- (void)setHighlighted:(BOOL)highlighted
    {}
- (void)touchAction
{
    if (self.sr_tapActionBlock) {
        self.sr_tapActionBlock(self);
    }
}


@end
